<meta http-equiv="expires" content="0"> <!-- says that the cache expires 'now' -->
<meta http-equiv="expires" content="0"> <!-- says that the cache expires 'now' -->
<meta http-equiv="pragma" content="no-cache"> <!-- says not to use cached stuff, if there is any -->

<%@ page language="java" session="true" import="java.util.*" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%--window.opener.location.href='Url' --%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>U2opia Analytics</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="menu.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>  
<style type="text/css">
.mytable {
border:1px solid #000000;
border-collapse:collapse;
width:850px;
}
.mytable td{
border:1px solid #CCC;
text-align:center;
font-size:14px;
}
.mytable th{
padding-left:17px;
padding-right:17px;
background-color: #C8C8C8;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#e3e3e3), color-stop(.6,#B3B3B3));
	background-image: -moz-linear-gradient(top, #D6D6D6, #B0B0B0, #B3B3B3 90%);
border:1px solid #CCC;
text-align:center;
font-size:14px;
width:150px;
align:justify;
}
</style>
<script type="text/javascript" >

/*$(document).ready(function(){  
    //If user wants to end session  
    $("#exit").click(function(){  
       
    });  
});*/  
</script>
<script language="javascript" type="text/javascript">
function barGraph()
{
	//var ss="linefull.jsp?"+"<%=request.getQueryString()%>"+"&bartype=line";
	window.open(ss);	
}
function lineGraph(){
//var ss="linefull.jsp?"+"<%=request.getQueryString()%>"+"&bartype=column";
	window.open(ss);
}
function back()
{
	self.location.href='tableView.jsp';
}

function initTable(){
	var tableHeading= "<%=(String)session.getAttribute("tableHeading")%>";
	var tableValues="<%=(String)session.getAttribute("tableValues")%>";
	createHeading(tableHeading);
	createTable(tableValues);
}
function createTable(tableValues){
	var tab=document.getElementById('dataTable');
	tab.className="mytable";
	var tbo=document.createElement('tbody');
	var row, cell;
	var values = tableValues.split('*');
	for(var i=0; i<values.length; i++){
		row=document.createElement('tr');
		var data = values[i].split(',');
		for(var j=0; j<data.length; j++){
			cell=document.createElement('td');
			cell.appendChild(document.createTextNode(data[j]));
			row.appendChild(cell);
		}
		tbo.appendChild(row);
	}
	tab.appendChild(tbo);
}
function createHeading(tableHeading){
	var tab=document.getElementById('dataTable');
	tab.className="mytable";
	var tbo=document.createElement('tbody');
	var row, cell;
	var headingData = tableHeading.split(',');
	row=document.createElement('tr');
	for(var j=0;j<headingData.length;j++){
		cell=document.createElement('th');
		cell.appendChild(document.createTextNode(headingData[j]));
		row.appendChild(cell);
	}
	tbo.appendChild(row);
	tab.appendChild(tbo);
}
</script>
<style type="text/css">
.close_chat_windows
{
display:none;
}
</style>
<link href="jsn/clndrn.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript"  src="jsn/clndr.js" ></script>

</head>

<body style="background-image:url(images/bg.png) repeat-x;" onload="initTable()" >

<div class="header"><!-- Header Area-->

<div class="header_line_content" style="background:#FFF" ><!-- Start Header Content Area-->

        	<div style="float:left"><div style="width:160px; height:90px; background:url(images/u2opia_mobile_logo.png); margin-left:1px;"></div></div>
             
            <div style="float:right; padding-top:6px">
            	<div style="width:auto; height:90px">
                	<div style="float:left">
                    	<div style="width:180px"><span style="float:left;  margin-left:22px; color:#B30000; font-family:Arial, Helvetica, sans-serif; font-size:16px">Welcome :</span><div style="float:left;color:#AB1000;font-family:Arial, Helvetica, sans-serif; font-size:16px; padding-left:5px;">Admin</div><div style="float:left;color:#B30000;font-family:Arial, Helvetica, sans-serif; font-size:16px; padding-left:75px;">
						<span style="color:#323232;"></span></div><div style="float:left;color:#323232;font-family:Arial, Helvetica, sans-serif; font-size:16px; padding-left:100px;"><a style="text-decoration: none" href="logout.jsp">Logout</a></div></div>
                    </div> 
                	<div style="float:right; background:url(images/1.png); width:78px; height:74px; padding-top:5px;"><span style="padding-left:4px;"><img src="friends/DSC02384.JPG" width="69px" height="69px;" /></span></div>           	
                    
                </div>
          </div>

</div><!-- END Header Content Area-->

</div><!-- END Header Area-->

<div id="content"><!-- COntent Area-->


<div><!-- Header With in content named Welcome Area-->
<div style=" height:30px; background:url(images/header_bg.png) repeat-x;">
<div style="width:1000px; height:30px; background:url(images/header_bg.png) repeat-x; padding-top:7px;">
	
    <div style="float:right; width:100%; font-family:Arial, Helvetica, sans-serif; font-size:18px; color:#8F0000; font-weight:500;">
		<a style="text-decoration: none" href="dashboard.jsp"><span style="float:left; margin-left:10px; color:#FFFFFF; font-size:16px; font-weight:300">DashBoard</span></a><div style="z-index:50"></div>
        <a style="text-decoration: none" href="mis.jsp"><span style="float:left; margin-left:30px; color:#FFFFFF; font-size:16px; font-weight:300">Custom Reports</span></a><div style="z-index:50"></div>
        <a style="text-decoration: none" href="search.jsp"><span style="float:left; margin-left:30px; color:#FFFFFF; font-size:16px; font-weight:300">Search</span></a><div style="z-index:50"></div>
    	
			<div style="z-index:50"></div>
		
    </div>
</div>
</div><!-- END Header With in content named Welcome Area-->

 <!--Main Content Goes Here -->
<div id="content" style="background-color: rgb(260, 2450, 220); width:99.6%; height:480px; overflow:auto;margin-top:10px;margin-left:1px;">
  <table  id="dataTable">
  
</table>
</div><!--End COntent Area-->

<div class="footer" >
<!-- Footer Area-->
Copyright  &copy; U2opia Mobile Pvt. Ltd
</div>
<div class="footer_info">Design from <a href="http://www.u2opiamobile.com/">U2opia Mobile</a></div>
</body>
</html>
